package com.vessel.decoration.mvp.ui.fragment.mine;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.jess.arms.di.component.AppComponent;
import com.jess.arms.utils.ArmsUtils;
import com.vessel.decoration.R;
import com.vessel.decoration.app.base.MySupportFragment;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * @author vesselzhang
 * @date 2017/11/29
 */

public class MeAboutFragment extends MySupportFragment {

    @BindView(R.id.tv_title)
    TextView mTitleTV;

    public static MeAboutFragment newInstance() {
        return new MeAboutFragment();
    }

    @Override
    public void setupFragmentComponent(AppComponent appComponent) {

    }

    @Override
    public View initView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        return inflater.inflate(R.layout.fragment_me_about, container, false);
    }

    @Override
    public void initData(Bundle savedInstanceState) {
        mTitleTV.setText(ArmsUtils.getString(getActivity(), R.string.me_item_about));
    }

    @Override
    public void setData(Object data) {

    }

    @OnClick(R.id.iv_left)
    void onClick() {
        getActivity().finish();
    }
}
